<?php
/**
 * Abstract class for creating database drivers.
 */
abstract class Database_Driver_Abstract {
    /**
    * Driver name.
    * @var string
    */
    protected $drivername;
    /**
    * The connection resource.
    * @var resource
    */
    protected $connection = false;
    protected $result = false;
    /**
    * An array to hold a query.
    * @var string
    */
    protected $query;

    public function __construct() {
        $this->query = '';
    }

    public function beginTransaction() {
    }

    public function commit() {
    }

    public function rollback() {
    }
}
?>